import request from '@/utils/request'

//  *********企业新增*********
/**   接口名称目录              功能
     
**/
//获取当前用户企业的项目列表
export  const  listProject = (search)=>
	request({
		url:'/op/project/get_project_list',
		method:'get',
		params:{
			pageNo:search.pageNo,
			pageSize:search.pageSize,
			entCode:search.entCode
		}
	})
export  const  submitProject = (url,form)=>
	request({
		url,
		method:'post',
		data:JSON.stringify(form)
	})
// 获取指定的项目
export  const  detailProject = (code)=>
	request({
		url:'/op/project/get_project',
		method:'get',
		params:{
			code
		}
	})
export  const  delProject = (code)=>
	request({
		url:'/op/project/delete_project',
		method:'get',
		params:{
			code
		}
	})
